#pragma once

#include "TFPusher.h"
#include <bondlib/BondInfo.h>
#include <qbprotocol/include/SSQBModel.h>
#include <vector>


class BondBboPushHandler : public TFPusher
{
	Q_OBJECT
public:
	Q_INVOKABLE  BondBboPushHandler() = default;
    bool processCmd(const QJsonObject& cmdObj, const ReqInfo& reqinfo, bool unReg = false) override;

protected slots:
	void onBestPriceArrived(std::string, QList<xQBBestPriceUnit_c>);

private:
	std::vector<std::string> parse(const QJsonObject& cmdObj);
};

